package channelAPI

import (
	"gitee.com/fierce_wolf/go-fox-edge-common/commRedisRpc"
)

type IChannelServerExecute interface {
	Execute(requestVO *commRedisRpc.ChannelRequestVO) (*commRedisRpc.ChannelRespondVO, error)
}

type IChannelServerPublish interface {
	Publish(requestVO *commRedisRpc.ChannelRequestVO) error
}

type IChannelServerReport interface {
	Report() ([]*commRedisRpc.ChannelRespondVO, error)
}

type IChannelServerOpenChannel interface {
	OpenChannel(channelName string, channelParam map[string]interface{}) error
}

type IChannelServerCloseChannel interface {
	CloseChannel(channelName string, channelParam map[string]interface{}) error
}

type IChannelServerManageChannel interface {
	ManageChannel(requestVO *commRedisRpc.ChannelRequestVO) (*commRedisRpc.ChannelRespondVO, error)
}
